﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace AlexandriaPressWebsite.MasterPages.UserPages
{
    public partial class ChangePasswordPage : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["blocked"] != null)
            {
                Session.RemoveAll();
                Response.Redirect("~/MasterPages/MainPage.aspx");
            }
        }

        protected void CancelPushButton_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/MasterPages/UserPages/UserProfilePage.aspx");
        }

        protected void DoneButton_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/MasterPages/UserPages/UserProfilePage.aspx");
        }
    }
}
